package com.baibei.model;

/**
 * 交易WebSocket
 * Created by ChenRui on 2017/8/15 0015 19:23.
 */
public class TradeWebSocketInfo {

    /**
     * couponFlag : 0
     * code : CODE_CLOSE_SUCCESS
     * msg : 平仓成功
     * orderId : 192837
     */

    private int couponFlag;
    private String code;
    private String msg;
    private int orderId;
    private String errorCode;

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public int getCouponFlag() {
        return couponFlag;
    }

    public void setCouponFlag(int couponFlag) {
        this.couponFlag = couponFlag;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    @Override
    public String toString() {
        return "TradeWebSocketInfo{" +
                "couponFlag=" + couponFlag +
                ", code='" + code + '\'' +
                ", msg='" + msg + '\'' +
                ", orderId=" + orderId +
                ", errorCode='" + errorCode + '\'' +
                '}';
    }
}
